---
title: Logging out
---

import {Steps, TabItem, Tabs} from "@astrojs/starlight/components";

import FlattenedSteps from "../../components/FlattenedSteps.astro";
import NavigationSteps from "../../components/NavigationSteps.astro";
import ZulipTip from "../../components/ZulipTip.astro";
import ChangePasswordAndAPIKey from "../include/_ChangePasswordAndAPIKey.mdx";
import MobileSwitchAccount from "../include/_MobileSwitchAccount.mdx";

import GearIcon from "~icons/zulip-icon/gear";
import MoreVerticalIcon from "~icons/zulip-icon/more-vertical";

## Log out of a Zulip account on one device

<Tabs>
  <TabItem label="Desktop/Web">
    <Steps>
      1. Click the **gear** (<GearIcon />) icon in the top
         right corner of the app.
      1. Click **Log out**.
    </Steps>
  </TabItem>

  <TabItem label="Mobile">
    <FlattenedSteps>
      <MobileSwitchAccount />

      1. Tap the **ellipsis** (<MoreVerticalIcon />)
         to the right of the Zulip organization you want to log out of.
      1. Tap **Log out**.
      1. Approve by tapping **Log out**.
    </FlattenedSteps>
  </TabItem>
</Tabs>

<ZulipTip>
  Logging out doesn't affect any other organizations you may be logged in
  to. To log out of all your Zulip organizations, repeat the steps above
  for each one.
</ZulipTip>

## Log out of a Zulip account on all devices

Resetting the [API key](/api/api-keys) for a Zulip account will immediately log
you out of that account on all mobile devices. Resetting your password will log
you out of all browsers and desktop apps.

### Change your password and API key

<ChangePasswordAndAPIKey />

## Related articles

* [Logging in](/help/logging-in)
* [Switching between organizations](/help/switching-between-organizations)
* [Change your password](/help/change-your-password)
* [Protect your account](/help/protect-your-account)
* [Deactivate your account](/help/deactivate-your-account)
